/**
 * @properties={typeid:35,uuid:"A8A1709E-1A24-45C9-A75A-3499A2437754",variableType:93}
 */
var fFecha = null;

/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"53220988-6FDB-4B34-B8D6-B9EDA5A34F1B"}
 */
function buscar(event) {
	controller.find()
	
	fecha = '#'+utils.dateFormat(fFecha,'dd-MM-yyyy')+'|dd-MM-yyyy'
	
	if (controller.search() == 0)
		globals.gDialog('Error','No se encontraron registros','OK','CerrarForm')
}
